xen/arch/x86/hvm/viridian.c: let custom parameter parsing routines return errno
authorJuergen Gross <jgross@suse.com>
Wed, 23 Aug 2017 17:34:00 +0000 (19:34 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 25 Aug 2017 14:14:52 +0000 (16:14 +0200)
commit9f37a8ab5c74823e95696b09e50a061c5d8d35f0
treee2920150afe3e5756bd77faf14005554ee40468f
parent0c3a8459866d8fd3385d7fed71252f65903d419d
xen/arch/x86/hvm/viridian.c: let custom parameter parsing routines return errno

Modify the custom parameter parsing routines in:

xen/arch/x86/hvm/viridian.c

to indicate whether the parameter value was parsed successfully.

Fix an error in the parsing function: up to now it would overwrite the
stack in case more than 3 values are specified.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/viridian.c